package com.haoze.nurse.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Table(name = "EMR.NURSE_STATISTICS")
public class NurseStatisticsEntity {

    @Id
    @Column(name = "STATISTICS_ID")
    private String statisticsId;

    @Column(name = "DATA_VERSION", nullable=false, columnDefinition = "1")
    private Integer dataVersion;

    @Column(name = "GMT_CREATE")
    private Timestamp gmtCreate;

    @Column(name = "GMT_MODIFY", nullable=false)
    private Timestamp gmtModify;

    @Column(name = "HOSPITAL_ID")
    private String hospitalId;

    @Column(name = "INPAT_NUM")
    private String inpatNum;

    @Column(name = "START_TIME")
    private String startTime;

    @Column(name = "END_TIME")
    private String endTime;

    @Column(name = "STATISTICS_TYPE")
    private String statisticsType;

    @Column(name = "DURATION")
    private String duration;

    @Column(name = "FIRST_STATISTICS")
    private String firstStatistics;

    @Column(name = "FLAG")
    private String flag;

    @Column(name = "STATISTICS_TEXT")
    private String statisticsText;

    @Column(name = "FILE_INDEX_DATA_ID")
    private String fileIndexdataId;

    @Column(name = "TPL_ID")
    private String tplId;

    public String getStatisticsText() {
        return statisticsText;
    }

    public void setStatisticsText(String statisticsText) {
        this.statisticsText = statisticsText;
    }

    public String getStatisticsId() {
        return statisticsId;
    }

    public void setStatisticsId(String statisticsId) {
        this.statisticsId = statisticsId;
    }

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Timestamp gmtModify) {
        this.gmtModify = gmtModify;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getStatisticsType() {
        return statisticsType;
    }

    public void setStatisticsType(String statisticsType) {
        this.statisticsType = statisticsType;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getFirstStatistics() {
        return firstStatistics;
    }

    public void setFirstStatistics(String firstStatistics) {
        this.firstStatistics = firstStatistics;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getFileIndexdataId() {
        return fileIndexdataId;
    }

    public void setFileIndexdataId(String fileIndexdataId) {
        this.fileIndexdataId = fileIndexdataId;
    }

    public String getTplId() {
        return tplId;
    }

    public void setTplId(String tplId) {
        this.tplId = tplId;
    }
}
